// To parse this JSON data, do
//
//     final segmentBean = segmentBeanFromJson(jsonString);

import 'dart:convert';

SegmentBean segmentBeanFromJson(String str) =>
    SegmentBean.fromJson(json.decode(str));

String segmentBeanToJson(SegmentBean data) => json.encode(data.toJson());

class SegmentBean {
  int? segmentIndex;
  String? text;

  SegmentBean({this.segmentIndex, this.text});

  factory SegmentBean.fromJson(dynamic json) =>
      SegmentBean(segmentIndex: json["segment_index"], text: json["text"]);

  Map<String, dynamic> toJson() => {
    "segment_index": segmentIndex,
    "text": text,
  };
}
